/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package cz.cuni.mff.d3s.arcas.intermediate.impl;

import cz.cuni.mff.d3s.arcas.intermediate.DistributionArchitectureRole;
import cz.cuni.mff.d3s.arcas.intermediate.IntermediatePackage;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Distribution Architecture Role</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link cz.cuni.mff.d3s.arcas.intermediate.impl.DistributionArchitectureRoleImpl#getName <em>Name</em>}</li>
 *   <li>{@link cz.cuni.mff.d3s.arcas.intermediate.impl.DistributionArchitectureRoleImpl#isMultipleCardinality <em>Multiple Cardinality</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class DistributionArchitectureRoleImpl extends CDOObjectImpl implements DistributionArchitectureRole {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DistributionArchitectureRoleImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE_ROLE;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
		return (String)eGet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE_ROLE__NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setName(String newName) {
		eSet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE_ROLE__NAME, newName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public boolean isMultipleCardinality() {
		return (Boolean)eGet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE_ROLE__MULTIPLE_CARDINALITY, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setMultipleCardinality(boolean newMultipleCardinality) {
		eSet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE_ROLE__MULTIPLE_CARDINALITY, newMultipleCardinality);
	}

} //DistributionArchitectureRoleImpl
